Spatial
load mapping tool
Description
Maps spatially varying pressure, temperature, displacement or
rotation fields from external files onto Apex meshes and creates spatially varying
pressure, temperature, displacement and rotation loads. The external fields can
be visualized before mapping takes place and the mapped field can be visualized
before the loads are created in Apex. A tolerance input enables control over
the extent of the target meshes onto which the source field will be
mapped
and an option is available to reverse the sense of
pressure loads applied to shell meshes.
UPDATE :
This tool has been
updated to support reversal of the sense of pressure loads applied to shell
elements. By default, +ve pressure values on shells act in the same direction
as the shell normal. By reversing the sense of the pressure load +ve pressures
act in the opposite direction of the shell normal which matches the behavior of
pressures on solid elements.
NOTE :
Although this tool has now undergone
significant usage and testing you may still encounter issues while mapping
loads. If you experience any issues with this tool, or if you have suggestions
for enhancements, please email either of the people below.
frank.mueller@hexagon.com
or
contact
the
support team at MSC.
Tool Usage
1.
Invoke
the tool from the Loads/BC’s group of the Apex Utilities Attribution tool
palette
2.
Browse
to the file containing your temperature, pressure, displacement or rotations
fields
.csv and .txt files
define quantity fields as “point clouds” where each
temperature/pressure/displacement/rotation value is defined at a point in space
as shown below
The header row is
required although columns can appear in any order. Each coordinate header must
include the letters X, Y or Z (Upper or lower case). ‘X’, ‘x’, or ‘CORDX’ are
examples of acceptable coordinate headers. The temperature and pressure columns
should include the letters ‘Te’ or ‘Pr’ (upper or lower case) – so “Temp’,
“Temperature”, ‘Pres’, ‘Pressure’ will all be recognized.
Currently, only a single
Temperature or pressure column is supported per file, although this limitation
will be removed in a future release.
3.
After
selecting a
file
the units and field type drop downs
will be displayed. No
units
information is
actually read
from the file
–
you must choose the units
system from the drop down to match the units of the data in the file
.
If both a pressure and temperature field are defined in the file, choose the
load that you want map from the field type drop down.
4.
Click
the ”Display
Source Field to display a
color
coded
plot of the source field.
NOTE :
The
plot is displayed in an external window and sometimes this window is occluded
by Apex – if the window does not appear, check if it is hidden behind Apex and
click on it bring it to the front.
Point clouds are displayed using color
coded spheres and sources defined using meshes are displayed using the
polygonal mesh. Exit the preview and return to Apex by clicking the ‘X’ in the
upper right corner of this window.
5.
Click
the “Select target” button to display the pick filters for solid and surface
meshes, then select the meshes onto which you want to map the field. Note –
Only whole meshes are supported in the current release. Targeting of individual
elements, element
faces
or geometry faces will be
added in a future release.
6.
After
selecting the target meshes, the tool will display the remaining mapping
options. In most cases, you will want to review the mapped field by clicking
the “Preview mapped field” button. This will cause the external field to be
mapped onto the target meshes using the mapping settings shown on the tool. The
mapped field will be displayed in a popup window
similar to
the one used to display the external field. Exit the preview and return to Apex
by clicking the ‘X’ in the upper right corner of this window. It is currently
necessary to exit the window, adjust the mapping options and then preview again
to see the effect of changing the mapping options
7.
To
control the extent of the target meshes onto which the source fields will be
mapped you can use the “Tolerance” mapping option. When disabled (default) the
source field will be mapped onto every node/element in the target no matter how
far it is from the source (as log as the mapping algorithm can calculate a
value). Enabling the tolerance option exposes a text box into which a mapping
tolerance can be entered. This tolerance represents a length quantity – the
number entered here will be interpreted using the currently active application
units of length. During the mapping process, only Nodes/Elements in the target
that lie within this distance of the source field will receive a mapped load
value.
This approach makes it possible
to control the extent of the target mesh that the load will be applied to.
Note also that pressure
loads are only applied to the free faces of elements in solid meshes.
Temperature loads are always applied to every node in the mesh, including
interior nodes in solid meshes. (An option to map temperature only to nodes on
the free faces of solid meshes will be added in a future release)
8.
By
default
+ve pressure values cause pressures to be apply
loads in the same direction as the shell element normal but in the opposite
direction of the solid element normal. To cause +ve pressure loads to apply
load in the direction opposite shell element normal you may use the “Reverse pressures
on shells” check box. This will cause +ve pressure to apply loads consistently in
the direction opposite to both shell and solid elements.
Figure
1
- Mapping without tolerance -
field shown mapped onto all faces of the solid tube
Figure 2 – Mapping with a tolerance that finds mostly internal pipe faces, but some external faces
Figure 3 - Mapping with a tolerance that finds only the element faces on the interior of the pipe
9. When you are happy with the preview of the mapped load, click the “Create Load” button and the tool will create an Apex variable temperature or pressure load.
Supported file types
Pressure and temperature fields can be defined as ‘point clouds’
in .csv
/,txt
files (comma, tab or space separated)
with the X, Y and Z values each defined in separate columns and the temperature
or pressure fields in their own columns.
The fields can be defined in any order, but header information
must be available to identify which column is which. The coordinate columns
should have headers that include ethe letters X, Y or X (Upper row lower case).
‘X’, ‘x’, or ‘CORDX’ are examples of acceptable coordinate headers. The
temperature and pressure columns should include the letters ‘Te’ or ‘Pr’ (upper
or lower case) – so “Temp’, “Temperature”, ‘Pres’, ‘Pressure’ will all be
recognized.
The files may contain both a temperature and pressure field, but
currently only one of each. We’ll add support for multiple columns in the next
release.
Pressure and temperature fields can also be extracted from files
exported from SCFlow – either as XML or .csv files. XML files from SCFlow
include a polygonal mesh as well as point data whereas the .csv files contain
only the point data.
Units
No unit information is read for the external files – this
information must be supplied by the user from the drop-down box in the source
file area of the tool. It’s important to select the coordinate and
temperature/pressure units for the file correctly otherwise the mapping may not
be successful.
Apex can be set to use any unit system during mapping – the tool
will convert between the units in the file and the units required by Apex
Targets
The tool currently supports mapping onto solid or surface meshes
only. Pressures are always mapped onto the free faces only of solid meshes.
Temperatures are always mapped to all nodes in the mesh bodies, including
internal nodes.
In order to
limit the extent of the
target mesh that receives a temperature or pressure load a tolerance control is
provided. The tolerance represents a length quantity (the tool interprets the
input value in the application system units) and causes the tool to only map
the fields on elements in the target that are within the tolerance distance
from points in the source.
Mapping algorithms
Three mapping algorithms are currently supported. If the source
is a point cloud, it is recommended to use the first mapping algorithm –
“Interpolate point cloud or mesh”. If the source is a mesh, it is recommended
to use the second mapping algorithm – “Probe mesh”
Interpolate point cloud or mesh
This algorithm can be used on sources that are either point clouds
or meshes. Each node in the target mesh is assigned a load value from the
source mesh using an algorithm that interpolates between the source point
values using a Voronoi point interpolation kernel.
Probe mesh
This algorithm requires that the source is a mesh – it will not
work when the source is a point cloud. For each node in the target mesh an
element in the source mesh is found and the load value for the target point is
calculated using the source element shape functions. If an element in the
source cannot be found, the algorithm will search for the nearest point in the
source and use the load values from that point
Interpolate and resample
This algorithm determines the axis aligned bounding box of the
target mesh, constructs a uniform hexahedral mesh in that volume, maps the
source mesh load field onto this volume mesh and then probes this volume mesh
for each of the points in the target mesh.
This algorithm is the least well tested of the three algorithms
provided and is currently very dependent upon the nature of the elements in the
source and target. Additional controls for this mapping options will be exposed
in a future release of this tool.
- Log in to post comments